export type MaybeCallback<R = unknown> = (...args: any[]) => R | R;

export type PlainFunction = (...args: any[]) => any;

export type RemoveReadonly<K> = {
  -readonly [P in keyof K]: K[P];
};
